package com.gper.vip.homework.facotry.abstractF;

public class OilCarFactory extends AbstractCarFactory {
    @Override
    Car createCar() {
        return new BenzCar();
    }

    @Override
    Energy createEnergy() {
        return new OilEnergy();
    }
}
